namespace ghost {
	/**单个技能信息*/
	export class SkillInfoRet{		
		/**技能ID*/public SkillID:number;
		/**技能名称*/public SkillName:string;
		/**技能等级*/public SkillLevel:number;
		/**技能状态*/public Status:number;
		/**技能开关*/public Switch:boolean;
		/**技能耗蓝*/public Magic:number;
		/**技能冷却(毫秒)*/public Cool:number;
		/**技能键码*/public SkillKey:string;		
		public static getSkilInfo(skillID:number=101,skillName:string="猛龙过江",skillLevel:number=5,status:number=1,switchFlag:boolean=true,magic:number=20,cool:number=2000,skillKey:string="j"):SkillInfoRet
		{
			let skillInfo:SkillInfoRet = new SkillInfoRet;			
			skillInfo.SkillID = skillID;
			skillInfo.SkillName = skillName;
			skillInfo.SkillLevel = skillLevel;
			skillInfo.Status = status;
			skillInfo.Switch = switchFlag;
			skillInfo.Magic = magic;
			skillInfo.Cool = cool;
			skillInfo.SkillKey = skillKey;
			return skillInfo;

		}
	}
}